COMPS = ../../bin/computations/
BABEL = /usr/include/openbabel-2.0

lib%.so: %.o
	gcc -shared -Wl,-soname,$@ -o $@ $<

%.o: %.cpp
	gcc -Wall -fPIC -c -lopenbabel $< -I${BABEL} -std=c++0x 
